<?php
/**
 *
 * Auth: feikor
 * Date: 2023/06/12
 */

namespace app\admin\controller;

use think\facade\Request;
use app\common\Common;
use app\admin\service\ActionlogService;
use think\facade\Session;

class actionlog extends Base
{
    private $service;

    public function __construct(ActionlogService $service)
    {
        parent::__construct();
        $this->service = $service;
    }

    /**
     * 渲染列表
     */
    public function index()
    {
        return view('index');
    }

    /**
     * 获取列表
     */
    public function list()
    {
        $params = Request::param();

        $data = $this->service->getList($params);

        return Common::success($data);
    }


}